package com.iflytek.read.bean;

/**
 * @author wangshuai
 */
public class FileSliceInfo {

    /**
     * 主键ID
     */
    private String id;

    /**
     * 小说id
     */
    private String novelId;

    /**
     * 章节id
     */
    private String chapterId;

    /**
     * 第几个切片
     */
    private Integer sliceIndex;

    /**
     * 当前切片文字内容
     */
    private String sliceContent;

    /**
     * 合成语音后的文件id
     */
    private String sliceFileId;

    /**
     * 语音合成状态 1：已合成
     */
    private Integer status;

    /**
     * 默认 0：不是；1：是
     */
    private Integer isLast;

    /**
     * 切片在本章的位置
     */
    private int index;

    /**
     * 本章节一共几个切片
     */
    private int total;

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNovelId() {
        return novelId;
    }

    public void setNovelId(String novelId) {
        this.novelId = novelId;
    }

    public String getChapterId() {
        return chapterId;
    }

    public void setChapterId(String chapterId) {
        this.chapterId = chapterId;
    }

    public Integer getSliceIndex() {
        return sliceIndex;
    }

    public void setSliceIndex(Integer sliceIndex) {
        this.sliceIndex = sliceIndex;
    }

    public String getSliceContent() {
        return sliceContent;
    }

    public void setSliceContent(String sliceContent) {
        this.sliceContent = sliceContent;
    }

    public String getSliceFileId() {
        return sliceFileId;
    }

    public void setSliceFileId(String sliceFileId) {
        this.sliceFileId = sliceFileId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsLast() {
        return isLast;
    }

    public void setIsLast(Integer isLast) {
        this.isLast = isLast;
    }

    @Override
    public String toString() {
        return "FileSliceInfo{" +
                "id='" + id + '\'' +
                ", novelId='" + novelId + '\'' +
                ", chapterId='" + chapterId + '\'' +
                ", sliceIndex=" + sliceIndex +
                ", sliceContent='" + sliceContent + '\'' +
                ", sliceFileId='" + sliceFileId + '\'' +
                ", status=" + status +
                ", isLast=" + isLast +
                ", index=" + index +
                ", total=" + total +
                '}';
    }
}